// Server_FileTransferDlg.h : header file
//

#if !defined(AFX_SERVER_FILETRANSFERDLG_H__17C56F83_276F_4E08_96CF_85BA8D6EC2C4__INCLUDED_)
#define AFX_SERVER_FILETRANSFERDLG_H__17C56F83_276F_4E08_96CF_85BA8D6EC2C4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CServer_FileTransferDlg dialog
#include "TCPServer_FT.h"

class CServer_FileTransferDlg : public CDialog
{
// Construction
public:
	CTCPServer_FT* m_pServer;
	void InitListColumn(void);
	CServer_FileTransferDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CServer_FileTransferDlg)
	enum { IDD = IDD_SERVER_FILETRANSFER_DIALOG };
	CStatic	m_staticListenStatus;
	CListCtrl	m_ListFile;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CServer_FileTransferDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CServer_FileTransferDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonAddfile();
	afx_msg void OnDestroy();
	afx_msg void OnButtonExit();
	//}}AFX_MSG
	afx_msg LRESULT OnStartListen(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OnSendFileList(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SERVER_FILETRANSFERDLG_H__17C56F83_276F_4E08_96CF_85BA8D6EC2C4__INCLUDED_)
